/**
 * 
 */
package sql.util;

/**
 * 类描述： 
 * 创建人：别君羊 
 * 创建时间： 2014年7月3日 下午3:37:51 
 * 修改人：
 * 修改时间：
 * 修改备注：
 * @version: 1.0
 */
public class Column {
	private String columnName;
	private int columnType;
	private String columnComment;
	private boolean primaryKey=false;
	private boolean notNull=false;
	private boolean unique=false;
	private boolean autoIncreatment=false;
	private String attributeName;
	private String attributeType;
	
	/**
	 * 
	 */
	public Column() {
		// TODO Auto-generated constructor stub
	}
	
	public Column(String columnName, int columnType, String columnComment) {
		super();
		this.columnName = columnName;
		this.columnType = columnType;
		this.columnComment = columnComment;
	}

	public String getColumnName() {
		return columnName;
	}
	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}
	public int getColumnType() {
		return columnType;
	}
	public void setColumnType(int columnType) {
		this.columnType = columnType;
	}
	public String getColumnComment() {
		return columnComment;
	}
	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}
	public boolean isPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(boolean primaryKey) {
		this.primaryKey = primaryKey;
	}

	public boolean isNotNull() {
		return notNull;
	}
	public void setNotNull(boolean notNull) {
		this.notNull = notNull;
	}
	public boolean isUnique() {
		return unique;
	}
	public void setUnique(boolean unique) {
		this.unique = unique;
	}
	public boolean isAutoIncreatment() {
		return autoIncreatment;
	}
	public void setAutoIncreatment(boolean autoIncreatment) {
		this.autoIncreatment = autoIncreatment;
	}

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public String getAttributeType() {
		return attributeType;
	}

	public void setAttributeType(String attributeType) {
		this.attributeType = attributeType;
	}
	
	
}
